<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0083)http://115.28.87.22:8888/base/DepartmentListForStafferSelect.html?type=&default_id= -->
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Pragma" content="no-cache">
	<meta http-equiv="Cache-Control" content="no-cache">
	<meta http-equiv="Expires" content="0">
	<title>部门 | 管理易-广告加工制作管理软件 企业版 9.28 | 易凯软件</title>
	<script src="../js/minierp.js"></script>

	<link rel="stylesheet" type="text/css" href="../css/base.css">
	<link href="../css/dtree.css" rel="stylesheet" type="text/css">
	<script src="../js/dtree.js"></script>
	<script language="javascript">
		function doTreeNodeClick(id) {
			if (document.getElementById("currentId") != null) {
				document.getElementById("currentId").value = id;
			}
			parent.document.getElementById("mainFrame").src = "./StafferListForSelect.html?type=&department_id=" + id;
		}
		var normalHeight = 0;

		function doInit() {
			normalHeight = document.getElementById("scrollDiv").offsetHeight;
			d.openAll();
			var defaultId = "";
			if (defaultId != "") {
				doTreeNodeClick(defaultId);
				//d.openTo(defaultId,true,false);
			} else {
				//d.openAll();
			}
		}

		function fixDivHeight(type) {
			if (type == "NORMAL") {
				document.getElementById("scrollDiv").style.height = normalHeight + "px";
			} else {
				document.getElementById("scrollDiv").style.height = (normalHeight - 100) + "px";
			}
		}
	</script>
</head>

<body onload="doInit();" style="text-align:center" scroll="no">
	<div class="nav" id="scrollDiv" style="text-align:left;overflow-x:hidden;overflow-y:auto;height:348px;width:160px">
		<h3 class="title">部门</h3>
		<div class="nav-link nav-mail" style="width:100%">
			<div class="blank12"></div>
			<script language="javascript">
				var isOpen = false;
				var d = new dTree('d', '../images/');

				d.config.useCookies = false;
				d.config.useLines = true;
				d.config.useIcons = true;

				d.add(0, -1, 'Root');

				d.add(1, 0, '易凯管理员', "javascript:doTreeNodeClick('1');", '', '', '', false);

				d.add(13, 0, '总经办', "javascript:doTreeNodeClick('13');", '', '', '', false);

				d.add(14, 0, '新异店', "javascript:doTreeNodeClick('14');", '', '', '', false);

				d.add(16, 0, '业务来源', "javascript:doTreeNodeClick('16');", '', '', '', false);

				d.add(17, 0, '标识加工车间', "javascript:doTreeNodeClick('17');", '', '', '', false);

				d.add(21, 0, '合作伙伴', "javascript:doTreeNodeClick('21');", '', '', '', false);

				d.add(32, 0, '标识汇运营部', "javascript:doTreeNodeClick('32');", '', '', '', false);

				d.add(33, 0, '财务部', "javascript:doTreeNodeClick('33');", '', '', '', false);

				d.add(22, 13, '财务', "javascript:doTreeNodeClick('22');", '', '', '', false);

				d.add(15, 14, '客服', "javascript:doTreeNodeClick('15');", '', '', '', false);

				d.add(23, 14, '设计', "javascript:doTreeNodeClick('23');", '', '', '', false);

				d.add(24, 14, '业务', "javascript:doTreeNodeClick('24');", '', '', '', false);


				document.write(d);
				d.closeAll();
			</script>
			<div class="dtree">
			</div>
		</div>
	</div>

</body>

</html>